package com.ruoyi.voteRecord.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 投票记录管理对象 voteRecord
 * 
 * @author hyl
 * @date 2025-06-21
 */
public class VoteRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long voteRecordId;

    /** 作品展ID */
    @Excel(name = "作品展ID")
    private Long exhId;

    /** 校区ID */
    @Excel(name = "校区ID")
    private Long campusId;

    /** 投票时间 */
    @Excel(name = "投票时间")
    private String voteTime;

    /** 家长ID */
    private Long parentId;

    /** 老师ID */
    private Long teacherId;

    /** 投票作品ID */
    @Excel(name = "投票作品ID")
    private Long workId;

    /** 投票总数 */
    @Excel(name = "投票总数")
    private String demo1;

    /** 备注2 */
    private String demo2;

    /** 备注3 */
    private String demo3;

    public void setVoteRecordId(Long voteRecordId) 
    {
        this.voteRecordId = voteRecordId;
    }

    public Long getVoteRecordId() 
    {
        return voteRecordId;
    }

    public void setExhId(Long exhId) 
    {
        this.exhId = exhId;
    }

    public Long getExhId() 
    {
        return exhId;
    }

    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }

    public void setVoteTime(String voteTime) 
    {
        this.voteTime = voteTime;
    }

    public String getVoteTime() 
    {
        return voteTime;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }

    public void setDemo1(String demo1) 
    {
        this.demo1 = demo1;
    }

    public String getDemo1() 
    {
        return demo1;
    }

    public void setDemo2(String demo2) 
    {
        this.demo2 = demo2;
    }

    public String getDemo2() 
    {
        return demo2;
    }

    public void setDemo3(String demo3) 
    {
        this.demo3 = demo3;
    }

    public String getDemo3() 
    {
        return demo3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("voteRecordId", getVoteRecordId())
            .append("exhId", getExhId())
            .append("campusId", getCampusId())
            .append("voteTime", getVoteTime())
            .append("parentId", getParentId())
            .append("teacherId", getTeacherId())
            .append("workId", getWorkId())
            .append("demo1", getDemo1())
            .append("demo2", getDemo2())
            .append("demo3", getDemo3())
            .toString();
    }
}
